/**   
* @Title: RetCode.java
* @Package org.xaoyaoyao.cloud.common.result
* @Description: TODO
* @author xaoyaoyao
* @date Feb 11, 2019 2:43:53 PM
* @version V1.0   
*/
package org.xaoyaoyao.cloud.common.result;

/**
 * @ClassName: RetCode
 * @Description: TODO
 * @author xaoyaoyao
 * @date Feb 11, 2019 2:43:53 PM
 * 
 */
public class RetCode {

	/** 内部错误 **/
	public static final int SYSERROR = -1000;

	/** OK **/
	public static final int SUCESS = 200;

	/** 拒绝访问 **/
	public static final int FORBIDDEN = 403;

	/** 操作过于频繁 **/
	public static final int REQUEST_TOO_FREQUENTLY = 431;

	/** 操作失败 **/
	public static final int OPERATION_FAILED = 1000;

	/** 参数为空 **/
	public static final int PARAMETER_REQUIRED = 10001;

	/** 对象为空 **/
	public static final int OBJECT_REQUIRED = 1002;

	/** 对象参数为空 **/
	public static final int OBJECTS_PARAMETER_REQUIRED = 1003;

	/** 没有在有效范围长度之内 **/
	public static final int ILLEGAL_LENGTH = 1004;

	/** 长度必须为XXX **/
	public static final int MUSTBE_LENGTH = 1005;

	/** 格式异常 **/
	public static final int INVALID_FORMAT_EXCEPTION = 10000;

}
